package edu.zerl.easyexceldemo.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

public enum ReadingStatusEnum implements IEnum<Integer> {
    NOT_READING(0, "未查看"),
    ALREADY_READING(1, "已查看");

    private Integer code;
    private String descp;

    ReadingStatusEnum(Integer code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescp() {
        return descp;
    }

    public void setDescp(String descp) {
        this.descp = descp;
    }

    @Override
    public Integer getValue() {
        return code;
    }
}
